/*-
 * $Id: Ui.java 4 2010-11-04 07:39:56Z andrewbass $
 */

package com.google.code.getwrong;

/**
 * @author Andrew ``Bass'' Shcheglov (andrewbass@gmail.com)
 * @author $Author: andrewbass $
 * @version $Revision: 4 $, $Date:: 2010-11-04 07:39:56 +0000 #$
 */
public interface Ui {
	void init();

	void usage();

	/**
	 * @param message
	 */
	void println(final String message);

	/**
	 * @param pattern
	 * @param arguments
	 */
	void println(final String pattern, final Object ... arguments);

	/**
	 * @param n
	 * @return the progress value set
	 */
	long setProgressValue(final long n);

	/**
	 * @param n
	 */
	void setProgressMaximum(final long n);

	void enableExit();
}
